<?php
$config = array(
    'index' => array(
        'innerHTML' => '管理首页',
        'style' => 'font-weight:bold',
        'href' => '/',
        'dev_tools' => array(
            'prem' => 'index.phpinfo',
            'innerHTML' => '开发工具',
            'phpinfo' => array(
                'innerHTML' => 'phpinfo()',
                'href' => 'phpinfo/',
                'perm' => 'default.view_phpinfo',
            ),
        ),
        /*
        'sup_admin' => array(
            'innerHTML' => '高级管理',
            'prem' => 'index.supadmin',
            'admin_log' => array(
            	'prem' => 'index.supadmin.logs.list',
                'innerHTML' => '查看操作日志',
                'href' => 'view_logs/',
            ),
        ),
        */
    ),

    'member' => array(
        'innerHTML' => '管理员管理',
        'admin' => array(
            'innerHTML' => '管理员管理',
        	'list' => array(
                'innerHTML' => '管理员列表',
                'href' => 'administrator/',
            	'perm' => 'administrator.view_user_info||administrator.view_self_group_user_info',
            ),
        	'add' => array(
                'innerHTML' => '添加管理员',
                'href' => 'administrator/add',
            	'perm' => 'administrator.add_new_user||administrator.add_self_group_user',
            ),
        ),
        'admin_group' => array(
            'innerHTML' => '权限组列表',
        	'list' => array(
                'innerHTML' => '权限组列表',
                'href' => 'administrator/group/',
                'perm' => 'administrator.view_group_info',
            ),
        	'add' => array(
                'innerHTML' => '添加权限组',
                'href' => 'administrator/group/add',
            	'perm' => 'administrator.add_group',
            ),
        ),
    ),
);